﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="NewsListDataSource.aspx.cs" Inherits="aspnet_admin_bock_News_NewsListDataSource" %><?xml version="1.0" encoding="utf-8" ?>
<div>
<table class="border" cellspacing="0" cellpadding="3" rules="all" border="1"  style="width:100%;border-collapse:collapse;">
		<tr>
			<th class="topbg" align="center" scope="col" style="height:30px;">新闻编号</th>
			<th class="topbg" align="center" scope="col">标题↓点击可修改↓</th>
			<th class="topbg" align="center" scope="col">预览</th>
			<th class="topbg" align="center" scope="col">编缉</th>
			<th class="topbg" align="center" scope="col">新闻分类</th>
			<th class="topbg" align="center" scope="col">新闻类型</th>
            <th class="topbg" align="center" scope="col">删除</th>
		</tr>
        <asp:Repeater ID="Repeater1" runat="server" EnableViewState="False">
            <ItemTemplate>         
		<tr>
			<td class="tdbg" style="height:25px;"><%#Eval("CX_News_ID")%></td>
			<td class="tdbg"><a href="CX_News_Edit.aspx?id=<%#Eval("CX_News_ID").ToString() %>" target="_blank"><%#Server.HtmlEncode(Eval("CX_News_name").ToString()) %></a></td>
			<td class="tdbg" align="center"><a href="priview.aspx?id=<%#Eval("CX_News_ID")%>" target="_blank">预览</a></td>
			<td class="tdbg" align="center"><%#Eval("CX_NEWS_Class_Edit")%></td>
			<td class="tdbg"><span><%#GetColumn(Eval("CX_NEWS_Class_id").ToString())%></span></td>
			<td class="tdbg"><%# GetNewsType(Eval("CX_NEWS_Top").ToString(),"CX_NEWS_Top") + GetNewsType(Eval("CX_NEWS_Pic").ToString(),"CX_NEWS_Pic")  %></td>
            <td class="tdbg" align="center"><a href="javascript:delc('<%#Eval("CX_News_ID")%>');">删除</a>
            <input type="checkbox" name="checkbox" id="checkbox" value="<%#Eval("CX_News_ID")  %>"/>
            </td>
		</tr>
            </ItemTemplate>
        </asp:Repeater>
        </table>
    <Xzone><![CDATA[setAskTotal(<%=contpages%>);]]></Xzone>
</div>  

  
